package Classwork;

import java.util.Scanner;

public class J {
        public static void main(String[] args) {
            double a,b;
            int c=0;
            Scanner reader=new Scanner(System.in);
            System.out.println("请输入一个浮点数：");
            a=reader.nextDouble();
            b=a;
            while(true) {
                b--;
                if (b < 0)
                    break;
                c++;
            }
            System.out.println(a+" "+b);
    }
}
